package cn.hh.user.service;

import cn.hh.basic.service.BaseService;
import cn.hh.basic.util.AjaxResult;
import cn.hh.user.domain.Logininfo;
import cn.hh.user.dto.BinderDto;
import cn.hh.user.dto.LoginDto;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Mao
 * @since 2025-03-19
 */
public interface LogininfoService extends BaseService<Logininfo> {

    Map<String, Object> accountLogin(LoginDto loginDto);

    AjaxResult wechatLogin(String code);

    AjaxResult wechatBinder(BinderDto binderDto);

    void logout(String token);
}
